﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// Bom_MainNode
    /// </summary>
    [Table("Bom_MainNode")]
    public partial class Bom_MainNode
    {

        /// <summary>
        /// 主键ID
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 制单人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 物料Id
        /// </summary>
        public String MaterailId { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public String MaterialName { get; set; }

        /// <summary>
        /// 版本号
        /// </summary>
        public String Ver { get; set; }

        /// <summary>
        /// (0成品1半成品2原材料)
        /// </summary>
        public Int32? Type { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remark { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public Boolean Deleted { get; set; }

    }
}